//
//  CYYNetWorkManager+Delete.h
//  LetsPartyBmob
//
//  Created by rimi on 15/9/9.
//  Copyright (c) 2015年 柴阳阳. All rights reserved.
//

#import "CYYNetWorkManager.h"

@interface CYYNetWorkManager (Delete)
#pragma mark - 删除发起的活动
/*
 1）给活动一个partyState为  @“已取消”
 2）置空活动发起者
 */
+ (void)deleteSponsorPartyWithObjectId:(NSString *)partyObjectId
                                sucess:(Sucess)sucess
                                  fail:(Fail)fail;

#pragma mark - 删除关注的活动
/*relation
 1）传入活动的ObjectId
 2)删除活动关注者通过当前登陆的用户objectID
 */
+ (void)deleteObservePartyWithObjectId:(NSString *)partyObjectId
                                sucess:(Sucess)sucess
                                  fail:(Fail)fail;

#pragma mark - 删除参加的活动
/*
 1）传入活动的ObjectId
 2)删除活动参加者通过当前登陆的用户objectID
 */
+ (void)deleteTarkPartInPartyithObjectId:(NSString *)partyObjectId
                                  sucess:(Sucess)sucess
                                    fail:(Fail)fail;

#pragma mark - 删除已发起人取消的活动
/**
 *  删除已经被发起人取消的活动
 *
 *  @param partyObjectId 活动objectId
 *  @param sucess        删除成功
 *  @param fail          删除失败
 */
+ (void)deleteAlreadyCanceledPartyWithPartyObjectId:(NSString *)partyObjectId
                                             sucess:(Sucess)sucess
                                               fail:(Fail)fail;
@end
